package cn.iocoder.yudao.module.promotion.gift.pojo.po;

import cn.iocoder.yudao.framework.business.basic.pojo.po.MerchantScopeEntity;
import cn.iocoder.yudao.framework.mybatis.core.type.LongListTypeHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 数据库表实体
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/05/27
 */
@Data
@TableName(value = "promotion_gift_scan_config", autoResultMap = true)
@Schema(description = "扫码配置")
public class GiftScanConfig extends MerchantScopeEntity {

    @Schema(description = "赠品活动编号集合")
    @TableField(typeHandler = LongListTypeHandler.class)
    private List<Long> giftActivityIds;

    @Schema(description = "满多少金额可以送，单位为分")
    //private Integer thresholdPrice;
    private Integer giveUsePrice;
}
